package cc.koit.hulk.common.helper;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class RabbitMQHelper {

    @Autowired
    private AmqpTemplate amqpTemplate;

    public void send(String content){
        amqpTemplate.convertAndSend("hulk",content);
    }


}
